package com.holic.bean;

public class Product {
	private long id;
	private String title;
	private String thumbnail;
	private String category;
	private String imgs;
	
	public Product(){}
	
	public Product(long id, String title, String thumbnail, String category) {
		super();
		this.id = id;
		this.title = title;
		this.thumbnail = thumbnail;
		this.category = category;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getThumbnail() {
		return thumbnail;
	}
	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}

	public String getImgs() {
		return imgs;
	}

	public void setImgs(String imgs) {
		this.imgs = imgs;
	}
	
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("id：" + id);
		sb.append("  title:" + title);
		sb.append("  category :" + category);
		sb.append("  thumbnail :" + thumbnail);
		return sb.toString();
	}
	
}
